package com.flyqiu.flow.event;


import com.flyqiu.flow.bpmn.element.IProcElement;
import com.flyqiu.flow.bpmn.element.BaseProcElement;
import com.flyqiu.flow.model.entity.base.Activity;
import com.flyqiu.flow.model.entity.base.FlowBaseDao;

public interface ActInstEventContext  extends FlyQiuFlowElementEventContext<IProcElement, Activity> {


    /**
     * 当前事件触发的元素
     *
     * @return {@link BaseProcElement}
     */
    IProcElement getEventElement();

    /**
     * 获取运行时元素对应的实例
     *
     * @return {@link FlowBaseDao}
     */
    Activity getElementInstance();


}
